
from qqbot import QQBotSlot as qqbotslot, RunBot
from qqbot import _bot as bot
import pyautogui
# from 子函数 import 关游戏
import cv2
import numpy as np
from matplotlib import pyplot as plt
import random,time

from PIL import ImageGrab
import pyautogui
import cv2
import numpy as np
import time
from 子函数.yinru import chahao ,shoudong,doujijieshu,meijuanle,yinlangniaomeikai,fanghui,qr,guanyouxi
ztj=0
import pyautogui
# time.sleep(4)
# pyautogui.press('esc')
time.sleep(2)
print(pyautogui.locateOnScreen('../images/guanyouxi.png'))

x, y = pyautogui.center(pyautogui.locateOnScreen('../images/guanyouxi.png'))  # 获得中心点
pyautogui.click(x+50, y)
# pyautogui.moveTo(int(pt[0]), int(pt[1]))  # 鼠标移动到坐标位置